package com.gtlab1207.br_security.models.dao;

import com.gtlab1207.br_security.models.domain.Cert;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CertDao {

    Integer insertCert( Cert cert);

    Integer deleteCert( String alias);

    Integer updateCert(); // 证书不需要更新

    List<Cert> selectCert();
}
